<script setup lang="ts">
import useAppStore from '@/store/modules/app';
import { jsonParseItem } from '@/utils';

const appStore = useAppStore();
const statusBarHeight = jsonParseItem('statusBarHeight');
if (statusBarHeight) {
  appStore.statusBarHeight = statusBarHeight;
}
</script>

<template>
  <div :style="{ height: appStore.statusBarHeight + 'px' }" class="status-bar"></div>
</template>

<style lang="scss" scoped>
.status-bar {
	height: 20px;
}
</style>
